export default {
  created () {
    this.sayHi()
  },
  methods: {
    sayHi () {
      console.log('大家好', this.username)
    }
  },
  data () {
    return {
      username: '张三'
    }
  }
}
